<!--
 * @Description:
 * @Author: ZY
 * @Date: 2020-12-21 13:50:19
 * @LastEditors: ZY
 * @LastEditTime: 2021-01-18 14:30:45
-->
<template>
  <div class="dashboard-container">
    <component :is="currentRole" />
  </div>
</template>

<script setup>
import { ref } from 'vue'
import AdminDashboard from './admin/Index.vue'

const adminPercentage = ref(80) // 假设80%的百分比显示 admin 仪表板

const currentRole = AdminDashboard
</script>
